<!--头部-->
		<div class="header">

			<div class="top">
				<div>
					<span class="shop_car"><a href="{:url('index/car/index')}">购物车</a></span>
					<span class="msg"><a href="javascript:void(0)">消息通知</a></span>
					{if(empty(session('userinfo')))}
						<span class="login"><a href="{:url("index/login/index")}">登录</a></span>
						<span class="register"><a href="{:url("index/reg/index")}">注册</a></span>
					{else}
						<span class="login"><a href="#">{:session('userinfo')['nickname']}</a></span>
						<span class="login"><a href="{:url("index/index/logout")}">退出</a></span>
					{/if}
				</div>
			</div>
